package roboticsfmw.core;

public abstract class Processor extends ManagedComponent implements Comparable<Processor> {

	public Processor(String name, long pollInterval, boolean runnable) throws IllegalArgumentException {
		super(name, pollInterval, runnable);
	}

	public abstract void init() throws ProcessorException;
	
	public abstract void shutdown() throws ProcessorException;
	
	@Override
	public int compareTo(Processor o) {
		if (this == o) {
			return 0;
		} else {
			return 1;
		}
	}
	
}
